Doc a few missing targets. Make chkdoc grouchier.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 21 Dec 2003 09:11:51 +0000 (09:11 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 21 Dec 2003 09:11:51 +0000 (09:11 +0000)
gpsbabel/README
gpsbabel/chkdoc

index c544e237a8fd3e7fbe4f77dab49debec56931836..6ae77daae1385eb6c2d9e3aee6f6729b3d2851c0 100644 (file)
@@ -434,12 +434,27 @@ THE FORMATS
 
        http://www.navicache.com/cgi-bin/ib312a/ikonboard.cgi?act=ST;f=23;t=334
 
-       PsiTrex
+    PsiTrex
        
        This is a text format created by KuDaTa's PsiTrex program for the Psion
        PDAs. The format can't be readily handled by XCSV, so this format is
        handled explicitly.  Waypoints, routes and tracks are all handled, with
        icon names used corresponding to verison 1.13 of PsiTrex.
+
+    geoniche
+
+        Geoniche is a Palm/OS application oriented for the off-road user.
+       This module was contributed by Rick Richardson.
+
+       http://www.nwlink.com/~raydar/GeoNiche/
+
+    gpl
+
+       This is the 'gpl' format as used in Delorme mapping products.
+       It is a track format and contains little more than the tracklog
+       of a GPS that was attached while driving.
+
+       http://www.frontiernet.net/~werner/gps/
        
 DATA FILTERS
 
@@ -606,6 +621,23 @@ DATA FILTERS
         gpsbabel -r -i saroute -f RoadTrip.anr -x simplify,count=50 \
                  -o magellan -F grocery.rte
 
+    REVERSE
+       
+       The reverse filter is used to reverse tracks and routes.   It's
+       mostly useful for those few formats where track/route sequence matters
+       and there isn't a way to reverse them using the program itself.
+
+        The reversal is performed in the laziest way possible.
+        Timestamps are kept with the original waypoints so the resulting
+        track or route will have the interesting characteristic that
+        time runs backwards.  This tends to make Magellan Mapsend,
+        in particular, do a wierd thing and place each waypoint on a
+        separate day.
+
+        Additionally, if you're using this to reverse a route that
+        navigates, say, an exit ramp or a one way street, you will be in
+        for unpleasant ride. application cares about timestamps
+
 COMMON USAGE
 
        Invocation was meant to be flexible.   Unfortunately, that can
index ee7409a512ab88b7ad0fac170661173e9865c48d..b3a409b706d2e197b6a349586378bdc7992712a8 100755 (executable)
@@ -1,29 +1,43 @@
 ECODE=0
 
-./gpsbabel -^ |
-while read FMT
-do
+checkit() {
        export ECODE
-       set -- $FMT
        TYPE=$1
+       STY=$2
        if ! grep -q $TYPE ~/src/babelweb/capabilities.html
        then
-               echo $TYPE is not documented in capabilities.html.
+               echo $STY $TYPE is not documented in capabilities.html.
                ECODE=1
        fi
        
        if ! grep -qi $TYPE  ~/src/babelweb/changes.html
        then
-               echo $TYPE is not documented in changes.html.
+               echo $STY $TYPE is not documented in changes.html.
                ECODE=1
        fi
        
        if ! grep -qi "^    $TYPE$" README 
        then
-               echo $TYPE is not documented in README.
+               echo $STY $TYPE is not documented in README.
                ECODE=1
        fi
+}
+
+./gpsbabel -^ |
+while read FMT
+do
+       set -- $FMT
+       TYPE=$1
+       checkit $TYPE format
+done
 
+./gpsbabel -% |
+while read FMT
+do
+       set -- $FMT
+       TYPE=$1
+       checkit $TYPE filter
 done
 
+
 exit $ECODE